<template>
	<view>
		<view class="">
			<uv-textarea v-model="value" placeholder="请填写反馈,我们将继续改进..." customStyle="border:none;background:#f7f7f7;height:350rpx"></uv-textarea>
		</view>
		<view class="" style="margin-top: 40rpx;">
			<uv-button  @click="btn()" text="提交反馈" customStyle="width:200rpx;background:#f54319;color:#fff;border-radius:50rpx"></uv-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value:''
			}
		},
		methods: {
			btn(){
				if(this.value==''){
					uni.showToast({
						title:'请填写反馈信息',
						icon:'none'
					})
				}else{
					setTimeout(()=>{
						uni.showToast({
							title:'提交成功',
							icon:'none',
							duration:1000
						})
						setTimeout(()=>{
							uni.navigateBack({
								delta:1
							})
						},200)
					},200)
					
					
					
				}
			}
		}
	}
</script>

<style>
page{
	padding: 20rpx;
	background-color: #fff;
}
</style>
